package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-L2 VPN配置-pw保护对对象 busi_l2_vpn_pw_protect
 * 
 * @author net
 * @date 2024-12-14
 */
public class BusiL2VpnPwProtect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** L2 VPN业务主键 */
    @Excel(name = "L2 VPN业务主键")
    @ApiModelProperty(value = "L2 VPN业务主键")
    private String l2VpnId;

    /** 主用PW */
    @Excel(name = "主用PW")
    @ApiModelProperty(value = "主用PW")
    private String mainPw;

    /** 备用PW */
    @Excel(name = "备用PW")
    @ApiModelProperty(value = "备用PW")
    private String backupPw;

    /** 保护类型（PW冗余保护） */
    @Excel(name = "保护类型", readConverterExp = "P=W冗余保护")
    @ApiModelProperty(value = "保护类型")
    private String protectType;

    /** 返回类型（返回） */
    @Excel(name = "返回类型", readConverterExp = "返=回")
    @ApiModelProperty(value = "返回类型")
    private String returnType;

    /** 等待恢复时间（m） */
    @Excel(name = "等待恢复时间", readConverterExp = "m=")
    @ApiModelProperty(value = "等待恢复时间")
    private String waitTime;

    /** 拖延时间（10ms） */
    @Excel(name = "拖延时间", readConverterExp = "1=0ms")
    @ApiModelProperty(value = "拖延时间")
    private String delayTime;

    /** APS使能 */
    @Excel(name = "APS使能")
    @ApiModelProperty(value = "APS使能")
    private String apsEnable;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setL2VpnId(String l2VpnId) 
    {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() 
    {
        return l2VpnId;
    }
    public void setMainPw(String mainPw) 
    {
        this.mainPw = mainPw;
    }

    public String getMainPw() 
    {
        return mainPw;
    }
    public void setBackupPw(String backupPw) 
    {
        this.backupPw = backupPw;
    }

    public String getBackupPw() 
    {
        return backupPw;
    }
    public void setProtectType(String protectType) 
    {
        this.protectType = protectType;
    }

    public String getProtectType() 
    {
        return protectType;
    }
    public void setReturnType(String returnType) 
    {
        this.returnType = returnType;
    }

    public String getReturnType() 
    {
        return returnType;
    }
    public void setWaitTime(String waitTime) 
    {
        this.waitTime = waitTime;
    }

    public String getWaitTime() 
    {
        return waitTime;
    }
    public void setDelayTime(String delayTime) 
    {
        this.delayTime = delayTime;
    }

    public String getDelayTime() 
    {
        return delayTime;
    }
    public void setApsEnable(String apsEnable) 
    {
        this.apsEnable = apsEnable;
    }

    public String getApsEnable() 
    {
        return apsEnable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("l2VpnId", getL2VpnId())
            .append("mainPw", getMainPw())
            .append("backupPw", getBackupPw())
            .append("protectType", getProtectType())
            .append("returnType", getReturnType())
            .append("waitTime", getWaitTime())
            .append("delayTime", getDelayTime())
            .append("apsEnable", getApsEnable())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
